import request from '@/utils/request'

// 查询参数对照列表
export function listKdSynParamComp(query) {
  return request({
    url: '/copy/KdSynParamComp/list',
    method: 'get',
    params: query
  })
}

// 查询参数对照详细
export function getKdSynParamComp(id) {
  return request({
    url: '/copy/KdSynParamComp/' + id,
    method: 'get'
  })
}

// 新增参数对照
export function addKdSynParamComp(data) {
  return request({
    url: '/copy/KdSynParamComp',
    method: 'post',
    data: data
  })
}

// 修改参数对照
export function updateKdSynParamComp(data) {
  return request({
    url: '/copy/KdSynParamComp',
    method: 'put',
    data: data
  })
}

// 删除参数对照
export function delKdSynParamComp(id) {
  return request({
    url: '/copy/KdSynParamComp/' + id,
    method: 'delete'
  })
}

// 导出参数对照
export function exportKdSynParamComp(query) {
  return request({
    url: '/copy/KdSynParamComp/export',
    method: 'get',
    params: query
  })
}